#ifndef MDX2_H_
#define MDX2_H_

// MDX_BUILD VALUES
// 20 = 1.0   -> 1.12
// 24 = 1.12  -> 2.4
// 28 = 3.0.1 -> 3.3.5
// 29 = 3.3.5 -> ...

#ifndef MDX_BUILD
#define MDX_BUILD 28
#endif

#include <cstdint>

// Description: The file header of .m2 files
struct MDX2_FileHeader
{
    char Magic[4];
    uint8_t Version[4];
    uint32_t lenName;
    uint32_t ofsName;
    uint32_t Flags;
};

#include "MDX2_Header.h"

#include "MDX2_Animation.h"
#include "MDX2_Attachment.h"
#include "MDX2_Bounding.h"
#include "MDX2_Camera.h"
#include "MDX2_Event.h"
#include "MDX2_Light.h"
#include "MDX2_Render.h"
#include "MDX2_Skin.h"
#include "MDX2_Texture.h"
#include "MDX2_Vertex.h"

#endif // MDX2_H_